package com.swa99ylum.pxf;

import org.apache.poi.xssf.usermodel.XSSFCell;

import com.swa99ylum.pxf.cell.injector.AdaptableCellInjector;

/**
 * 可以根据 CellType，自适应 的 提取
 *
 */
public class ScoreCellInjector extends AdaptableCellInjector {
	
	
	
	@Override
	public void doInject(XSSFCell cell, Object cellValue) {
		super.doInject(cell, cellValue);
		
	}

	public void doStyle(XSSFCell cell, Object cellValue) {
		int score = (int) cellValue;
		
		if(60 <= score || score <= 100) {
			super.doStyle(cell, cellValue);
			
		}else if(0<=score || score <=59) {
			
		}else {
			
		}
	}
}
